package com.guoxin.jiyin.boot;



import com.guoxin.jiyin.service.impl.BlockChainsServiceImpl;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.context.annotation.*;
import org.springframework.scheduling.annotation.EnableScheduling;

import javax.annotation.PostConstruct;
import java.io.File;


@Configuration
@ComponentScan({"com.guoxin.jiyin.service"})
//@EnableScheduling
//@EnableAspectJAutoProxy
public class RootConfig {

    private static final Logger log = LogManager.getLogger(RootConfig.class);

    @PostConstruct
    public void init() {
        log.info("root start path " + new File(".").getAbsolutePath());
    }


}
